package com.example.demo.respository;

import com.example.demo.model.Vitae_table;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface VitaeRepository extends CrudRepository<Vitae_table, Long> {

    List<Vitae_table> findByIdBefore(int id);
    Page<Vitae_table> findAll(Pageable page);
}
